from rest_framework import serializers
from .models import UserModel, OrderModel


class UserSer(serializers.ModelSerializer):
    class Meta:
        model = UserModel
        fields = '__all__'


class OrderSer(serializers.ModelSerializer):
    class Meta:
        model = OrderModel
        fields = '__all__'
